package com.mic.yzzn.plc.model;

import java.util.List;
import java.util.Map;

public class ContactSectionData {
	
	/** 对应的区间 */
	private ContactSection contactSection;
	
	/** 对应点位值*/
	private Map<String, ContactPointData> dataMap;
	
	public ContactSectionData(){}
	
	public ContactSectionData(ContactSection contactSection, Map dataMap) {
		this.dataMap = dataMap;
		this.contactSection =  contactSection;
	}

	public ContactSectionData(String type, String startPoint, String endPoint,Map dataMap) {
		this.contactSection =  new ContactSection(type, startPoint, endPoint);
		this.dataMap = dataMap;
	}

	// getters and setters
	public ContactSection getContactSection() {
		return contactSection;
	}


	public void setContactSection(ContactSection contactSection) {
		this.contactSection = contactSection;
	}

	public Map<String, ContactPointData> getDataMap() {
		return dataMap;
	}

	public void setDataMap(Map<String, ContactPointData> dataMap) {
		this.dataMap = dataMap;
	}




}
